using WODPL.Models;

namespace WODPL.Controllers
{
    public class CharacterMovementController
    {
        private readonly CharacterModel characterModel;
        private readonly MapTileModel mapTileModel;

        public CharacterMovementController(CharacterModel characterModel, MapTileModel mapTileModel)
        {
            this.characterModel = characterModel;
            this.mapTileModel = mapTileModel;
        }

        public void MoveCharacterToMapTile()
        {
            characterModel.MoveCharacterTo(mapTileModel.Origin);
        }
    }
}